import VueRouter from "vue-router";
import Vue from "vue";
import home from "@/view/home";


Vue.use(VueRouter)

const routes=[
    {
        path: "/",
        name: "Home",
        component: home,
    },

]

const  router=new VueRouter({
    routes,

    mode:'history'
})


export default router